package com.dabai.iot.core.task;

import com.dabai.common.core.utils.BatchTaskProcessor;
import com.dabai.iot.core.entity.DeviceEntity;
import com.dabai.iot.core.service.IDeviceService;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class DeviceStatusProcessor extends BatchTaskProcessor<DeviceEntity> {

    public DeviceStatusProcessor(IDeviceService deviceService) {
        super(deviceService::setDeviceStatus);
    }
}
